<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="/vraptor-blank-project/bootstrap/css/estilo.css">
    <link rel="stylesheet" type="text/css"
	href="/vraptor-blank-project/bootstrap/css/bootstrap.min.css">

<title>Adicionar novo cardapio</title>
</head>
<body>
 
	<div class="jumbotron" id="jumbotron">
	<h1>Cadastrar Cardapio</h1>
	 <div class="container">
</div>
</div>



<div class="form-horizontal col-md-4 col-sm-offset-4">
	<div class="panel panel-default">
	<div class="panel-heading"id=panel>Cadastro</div>
	<div class="panel-body">
<form action="${linkTo[CardapioController].save}" method="post" class="col-md-10 col-md-offset-1">
<div class="form-group">
<label>Data</label>
		<input class="form-control" name="cardapio.data" type="text" placeholder="dd/mm/aaaa"/>
		</div>
		<div class="form-group">
		<label>Prato</label>
		<select name="cardapio.prato.idPrato" class="form-control">
			<c:forEach items="${pratoList}" var="prato">
				<option value="${prato.idPrato}">${prato.nomePrato}</option>
			</c:forEach>
		</select>
		</div>
		<div class="form-group">
		<input class="btn btn-primary btn-block" type="submit" value="Cadastrar Cardapio" />
		</div>
	</form>
</div></div></div>
</body>
</html>